package com.oa.dao;

import com.oa.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeDao {
    Employee selectById(Long employeeId);
    Employee selectLeader(@Param("emp") Employee employee);
    List<Employee> selectAll();
    void insert(Employee employee);
    void delete(Long EmployeeId);
    void update(Employee employee);
}
